package se19team1e.gui;

/**
 * An abstract factory that creates MessageBox instances.
 * 
 * <p>
 * This interface is introduced to ease controller unit testing, such that it
 * does not need to create/interact with any real GUI message boxes.
 * </p>
 * 
 * @author lai shiaw san
 * 
 */
public interface MessageBoxFactory {

	/**
	 * Create a new message box to display.
	 * 
	 * @param parent
	 *            The owner parent window.
	 * @return New message box created for display.
	 */
	MessageBox createMessageBox(BaseScreen parent);

}
